function list(state = [], action) {
    let NewState = { ...state }
    switch (action.type) {
        case "INIT_LIST":
            NewState = action.res
            return NewState
        default:
            return state
    }
}

export default list